﻿using SqlSugar;
namespace IMES.Entity
{
    /// <summary>
    /// 订单导入历史记录
    ///</summary>
    [SugarTable("t_importhistory")]
    public class OrderImporthistory : BaseEntity
    { 
        /// <summary>
        /// 客户代码 
        ///</summary>
        [SugarColumn(ColumnName = "CustomerCode")]
        public string? CustomerCode { get; set; }
        /// <summary>
        /// BUY 
        ///</summary>
        [SugarColumn(ColumnName = "BUY")]
        public string? BUY { get; set; }
        /// <summary>
        /// 季节 
        ///</summary>
        [SugarColumn(ColumnName = "Season")]
        public string? Season { get; set; }
        /// <summary>
        /// MPO 
        ///</summary>
        [SugarColumn(ColumnName = "MPO")]
        public string? MPO { get; set; }
        /// <summary>
        /// CPO 
        ///</summary>
        [SugarColumn(ColumnName = "CPO")]
        public string? CPO { get; set; }
        /// <summary>
        /// PO.ITEM 
        ///</summary>
        [SugarColumn(ColumnName = "ABS_NO")]
        public string? ABS_NO { get; set; }
        /// <summary>
        /// 款号 
        ///</summary>
        [SugarColumn(ColumnName = "StyleNo")]
        public string? StyleNo { get; set; }
        /// <summary>
        /// 颜色代码 
        ///</summary>
        [SugarColumn(ColumnName = "ColorCode")]
        public string? ColorCode { get; set; }
        /// <summary>
        /// 颜色中文名称(支持李宁中文颜色) 
        ///</summary>
        [SugarColumn(ColumnName = "ColorName")]
        public string? ColorName { get; set; }
        /// <summary>
        /// 尺码 
        ///</summary>
        [SugarColumn(ColumnName = "Size")]
        public string? Size { get; set; }
        /// <summary>
        /// 货期 
        ///</summary>
        [SugarColumn(ColumnName = "ShipDate")]
        public DateTime? ShipDate { get; set; }
        /// <summary>
        /// 走地 
        ///</summary>
        [SugarColumn(ColumnName = "Destination")]
        public string? Destination { get; set; }
        /// <summary>
        /// 单位 
        ///</summary>
        [SugarColumn(ColumnName = "Unit")]
        public string? Unit { get; set; }
        /// <summary>
        /// 结算币种 
        ///</summary>
        [SugarColumn(ColumnName = "Currency")]
        public string? Currency { get; set; }
        /// <summary>
        /// 订单量 
        ///</summary>
        [SugarColumn(ColumnName = "Qty")]
        public int Qty { get; set; }
        /// <summary>
        /// 加裁比例 
        ///</summary>
        [SugarColumn(ColumnName = "JCBL")]
        public int JCBL { get; set; }
        /// <summary>
        /// 裁剪量 
        ///</summary>
        [SugarColumn(ColumnName = "CutQty")]
        public int CutQty { get; set; }
        /// <summary>
        /// 面料类型 
        ///</summary>
        [SugarColumn(ColumnName = "FabricType")]
        public string? FabricType { get; set; }
        /// <summary>
        /// 异动货期 
        ///</summary>
        [SugarColumn(ColumnName = "ChangeDate")]
        public DateTime? ChangeDate { get; set; }
        /// <summary>
        /// 客户PO 
        ///</summary>
        [SugarColumn(ColumnName = "PO")]
        public string? PO { get; set; }
        /// <summary>
        /// 款式名称 
        ///</summary>
        [SugarColumn(ColumnName = "StyleName")]
        public string? StyleName { get; set; }
        /// <summary>
        /// 款式描述 
        ///</summary>
        [SugarColumn(ColumnName = "GEN_MM")]
        public string? GEN_MM { get; set; }
        /// <summary>
        /// 衣服分类(上衣、羽绒服、裤子..) 
        ///</summary>
        [SugarColumn(ColumnName = "GRP_NM")]
        public string? GRP_NM { get; set; }
        /// <summary>
        /// 国际单颜色代码(李宁)
        ///</summary>
        [SugarColumn(ColumnName = "INT_ColorCode")]
        public string? INT_ColorCode { get; set; }

        /// <summary>
        /// 物流仓库(李宁)
        /// </summary>
        [SugarColumn(ColumnName = "Warehouse")]
        public string? Warehouse {  get; set; }

        /// <summary>
        /// 版本号 
        ///</summary>
        [SugarColumn(ColumnName = "Version")]
        public string? Version { get; set; }
        /// <summary>
        /// 序号 
        ///</summary>
        [SugarColumn(ColumnName = "SortID")]
        public int SortID { get; set; }
        /// <summary>
        /// 备注 
        ///</summary>
        [SugarColumn(ColumnName = "Remark")]
        public string? Remark { get; set; }
        /// <summary>
        /// 可用状态 
        ///</summary>
        [SugarColumn(ColumnName = "Usable")]
        public bool Usable { get; set; }
        /// <summary>
        /// 审核状态 
        ///</summary>
        [SugarColumn(ColumnName = "Audited")]
        public bool Audited { get; set; }
        /// <summary>
        /// 审核时间 
        ///</summary>
        [SugarColumn(ColumnName = "AuditTime")]
        public DateTime? AuditTime { get; set; }
        /// <summary>
        /// 审核人 
        ///</summary>
        [SugarColumn(ColumnName = "Auditor")]
        public string? Auditor { get; set; }
        /// <summary>
        /// 创建时间 
        ///</summary>
        [SugarColumn(ColumnName = "CreateTime")]
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 创建人 
        ///</summary>
        [SugarColumn(ColumnName = "Creator")]
        public string? Creator { get; set; }
    }
}
